<div id="pright">

   <div style="padding:10px; text-align:center;">
<?php echo validation_errors(); ?>
<?php echo form_open('user/register');?>
<table>
  <tr><td>username:</td><td><input type="text" name="username"></td></tr>
  <tr><td>password:</td><td><input type="password" name="password"></td></tr>
  <tr><td></td><td><input type="submit" value="保存" /></td></tr>
</table>
<div></div>
</form></div>
</div>
